#pragma once
#include "DialogWnd.h"

class CWizardWnd : public CDialogWnd
{
public:
	CWizardWnd(LPCTSTR szXmlFile, int nTotalPage);

protected:
	virtual void Notify(TNotifyUI& msg);

	void OnWindowInit(TNotifyUI& msg);
	virtual bool OnGoingToNextPage() { return true; }
	virtual bool OnGoingToPrevPage() { return true; }
	virtual bool OnFinishing() { return true; }

	int GetCurPage() { return m_nCurPage; }

private:
	void UpdateUI();

	CButtonUI* m_pPrevBtn;
	CButtonUI* m_pNextBtn;
	CTabLayoutUI* m_pWizardTab;
	int m_nCurPage;
	int m_nTotalPages;
	CStdString m_strArrowImage;
};
